Static member function in c